package cn.xabad.server.thea.model

/**
 * @author xab
 * @create 2018-05-04 13:27
 * @desc
 */
data class HttpLogResult<out T>(
        val data: Data<T>,
        val code: Int,
        val message: String
) {
    data class Data<out T>(
            val code: Int = 0,
            val content: List<T>,
            val last: Boolean,
            val totalPages: Int,
            val totalElements: Int,
            val first: Boolean,
            val sort: List<Map<String,String>>?,
            val numberOfElements: Int,
            val size: Int,
            val number: Int
    )

}